Class Firewall, Test Order, and Regression Testing of Object-Oriented Programs

نویسندگان

  • David Chenho Kung
  • Jerry Zeyu Gao
  • Pei Hsia
  • Jeremy Lin
  • Yasufumi Toyoshima
چکیده

Regression testing is an important activity in software maintenance. Although a number of existing research results have addressed the problems and solutions in regression testing of traditional programs, no research results have focused on the issues and solutions in regression testing of object-oriented programs. In this paper, we present a method for identifying the aaected classes when changes are made to an object-oriented program. An algorithm for generating a desirable order to test the aaected classes also is described. The basic model we use is an object relation graph, which depicts the inheritance, aggregation, and association relations that exist in the object-oriented program to be maintained. The test order nding algorithm can be applied to acyclic as well as cyclic object relation graphs. The results of this paper has been implemented and applied to testing of many example applications, including the InterViews library.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Or Regression Testing of Object-Oriented Programs

Regression testing is an important activity in software maintenance. Although a number of studies have addressed the problems and solutions in regression testing of traditional programs, no studies have focused on the issues and solutions in regression testing of object-oriented programs. In this article, we discuss various types of code changes of classes in an object-oriented program and pres...

متن کامل

Test Coverage Analysis for Object Oriented Programs - Structural Testing Through Aspect Oriented Instrumentation

The introduction of Object Oriented Technologies in test centered processes has emphasized the importance of finding new methods for software verification. Testing metrics and practices, developed for structured programs, have to be adapted in order to address the prerogatives of object oriented programming. In this work, we introduce a new approach to structural coverage evaluation in the test...

متن کامل

State-Based Testing and Inheritance

State-based testing is a new technique developed for the testing of object-oriented programs. It compliments the more traditional approaches of functional and structural testing. The features of a class provide the desired behaviour by interacting with the data-representation. Although these interactions are found in programs written in more traditional languages, they are more visible and prev...

متن کامل

Testing Adaptive Software During Class Evolution

ion of common parts and distribution of common parts in principle should not change the behaviorof the propagation pattern since attening (distribution of common parts) is performed automatically for thetraversal dependence graph. However, it is possible for manual application of the primitives by the programmerto produce a di erent edge ordering than that produced by the attening a...

متن کامل

Selecting Regression Tests for Object-Oriented Software

Regression testing is an important but expensive software maintenance activity aimed at providing con-dence in modiied software. Selective retest methods reduce the cost of regression testing by selecting tests for a modiied program from a previously existing test suite. Many researchers have addressed the selective retest problem for procedural-language software, but few have addressed the pro...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • JOOP

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1995